package br.usp.ime.origami.model;

import java.util.Comparator;

public class ColapsingTimeComparator implements Comparator<MovingTriangle> {

    public int compare(MovingTriangle o1, MovingTriangle o2) {
        return Double.compare(o1.getCollapsingTime(), o2.getCollapsingTime());
    }

}